package com.hontech.bv.model.heat

import com.hontech.bv.utils.isBitSet

class CtrlValue (value: Int) {

    val waterHeatFlag = value.isBitSet(0)
    val steamHeatFlag = value.isBitSet(1)
    val waterPumpFlag = value.isBitSet(2)
    val cleanPumpFlag = value.isBitSet(3)
    val waterValveFlag = value.isBitSet(4)
    val cleanValveFlag = value.isBitSet(5)
    val steamPumpFlag = value.isBitSet(6)
    val steamValveFlag = value.isBitSet(7)
    val bucket1PumpFlag = value.isBitSet(8)
    val bucket2PumpFlag = value.isBitSet(9)
    val roEnterValveFlag = value.isBitSet(10)
    val roExitValveFlag = value.isBitSet(11)
    val stirMotorFlag = value.isBitSet(12)
    val dropValveFlag = value.isBitSet(13)
}
